import Vue from "vue";
import VueI18n from "vue-i18n";
import en from "./en";
import zh from "./zh";
// import store from "@/store";

Vue.use(VueI18n);
const messages = {
  zh,
  en,
};
const test = [1, 2];
const i18n = new VueI18n({
  messages,
  locale: "zh",
  // locale: store.state.i18n, //local language
});

export default i18n;
